package com.zjuee.service.auth.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.io.Serializable;

/**
 * @author wu liang
 * @since 1.0
 */
@Data
public class UserPasswordVo implements Serializable {
    private static final long serialVersionUID = 1L;

    /*主键，自增ID*/
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Long id;

    /*用户名*/
    @JsonInclude(JsonInclude.Include.NON_DEFAULT)
    private String name;

    /*新密码*/
    @JsonInclude(JsonInclude.Include.NON_DEFAULT)
    private String newPassword;

    /*旧密码*/
    @JSONField(serialize = false)
    private String oldPassword;


}
